<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>五个小朋友排成一队。问第一个多大了，第一个说比第二个大两岁，问第二个，第二个说比第三个大两岁，以此类推。问第五个小朋友几岁了，第五个小朋友说3岁了。问第一个小朋友几岁？</title>
</head>

<body>
    <script>
        // var five = 3;
        // var four = five + 2;
        // var three = four + 2;
        // var two = three + 2;
        // var one = two + 2;
        // console.log("第一个小朋友" + one + "岁了");

        var age = 3;
        for (var i = 4; i > 0; i--) {
            age += 2;
        }
        console.log("第一个小朋友" + age + "岁了")
    </script>

</body>

</html>